# Django settings for the xapper debug site.

DEBUG = True
DATABASE_ENGINE = "sqlite3"
DATABASE_NAME = "/tmp/xappertest"
ROOT_URLCONF = "testsite.urls"
INSTALLED_APPS = (
  "testapp",
  "xapper",
)

import os, sys
sys.path.append(os.path.dirname(__file__))

# Import the local settings
try:
  from local_settings import *
except ImportError:
  local_settings_filename = os.path.join(os.path.dirname(__file__), "local_settings.py")
  print("Could not find local settings file.  Creating a template at:\n\n    %s\n\n"
        "Please edit this file to customize the settings for your system."
        % local_settings_filename)
  lsf = open(local_settings_filename, "w")
  lsf.write("\n".join(l.strip() for l in
    """# Local settings for the xapper debug site

        # Silverlight Settings
        #XAPPER_ASSEMBLY_DIRS = (
        #    "<Enter Absolute Paths Of IronPython Silverlight Assemblies>",
        #)
    """.splitlines()))
  sys.exit(2)
